package cn.e2win.biz.base;

import java.util.List;

import cn.e2win.base.entity.BaseEntity;
import cn.e2win.base.entity.SysAttach;
import cn.e2win.base.entity.SysLabel;
import cn.e2win.base.entity.SysLabelSet;
import cn.e2win.base.json.vo.Pager;
import cn.e2win.biz.base.BaseDAO;


public interface CommonDao extends BaseDAO{
	void pagerApproveLog(Pager pager);
	List<SysLabel> getSysLabelList(String className, String labelType);
	List<SysLabel> getSysLabelList(BaseEntity entity, String labelType);
	SysLabelSet getSysLabelSet(SysLabel sysLabel, String label);
	void pagerDsRelation(BaseEntity relatedObj, Pager pager);
	int delDsRelation(BaseEntity relatedObj);
	void pagerGuestRelation(BaseEntity relatedObj, Pager pager);
	int delGuestRelation(BaseEntity relatedObj);
	List<SysAttach> getSysAttachList(BaseEntity entity, String attachType);
	void pagerLabel(Pager pager);
	
	int updateLabels(SysLabel label, String newLabel);
	int delLabels(SysLabel label);
	int delLabelSets(SysLabelSet sysLabelSet);
}
